package com.cakeclient.clientsoap.contract;


import org.ksoap2.serialization.SoapObject;

public class SimpleOrder extends ContractObject {

    public int id;
    public int idClient;
    public int idStore;

    public SimpleOrder(com.cakeclient.Model.Order order) {
        if (order.getRemoteID() != null)
            this.id = Integer.parseInt(order.getRemoteID().toString());
        if (order.getClient() != null)
            this.idClient = Integer.parseInt(order.getClient().getRemoteID().toString());
    }

    @Override
    public void fill(SoapObject soapObject) {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
